package com.codeyang.mocktest2.mapper;

import com.codeyang.mocktest2.entity.TUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 描述: describe
 * @author shengyang5
 * @version 2021/7/20 16:44
 */
public interface TUserMapper {
    int insert(TUser record);



    TUser selectByPrimaryKey(Integer id);

    List<TUser> selectAll();

    List<Integer> selectByName(@Param("name") String name);

    int delByIds(@Param("ids") List<Integer> ids);

    int updateObj(@Param("user") TUser tUser);


    List<TUser> selectByNames(@Param("name") String name);
}